package com.wuyou.mid;


import java.util.Arrays;
import java.util.stream.Collectors;

/**
 * 1798. 你能构造出连续值的最大数目
 */
public class GetMaximumConsecutive {


    // 没有思路
    // 1、挨个加？性能太低了
    public static int solution_1(int[] coins) {
        Arrays.sort(coins);
        int sum = Arrays.stream(coins).sum();
        int resCount = 1;
        if (coins[0] != 1) {
            for (int i = 0; i < coins.length; i++) {

            }
        }
        return resCount;
    }

    public boolean checkNum(int[] coins, int targetNum){
        int num = 0;


        return false;
    }
}
